home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / comm1 / mgplp378.lha / magplip / source / rt.asm < prev    next >
Assembly Source File  |  1996-03-29  |  2KB  |  112 lines

  1. ;*
  2. ;*  $VER: rt.asm 1.2 (29 Mar 1996)
  3. ;*
  4. ;*  magplip.device - Parallel Line Internet Protocol
  5. ;*
  6. ;*  Original code written by Oliver Wagner and Michael Balzer.
  7. ;*
  8. ;*  This version has been completely reworked by Marius Gröger, introducing
  9. ;*  slight protocol changes. The new source is a lot better organized and
  10. ;*  maintainable.
  11. ;*
  12. ;*  Additional changes and code cleanup by Jan Kratochvil and Martin Mares.
  13. ;*  The new source is significantly faster and yet better maintainable.
  14. ;*
  15. ;*  (C) Copyright 1993-1994 Oliver Wagner & Michael Balzer
  16. ;*  (C) Copyright 1995 Jan Kratochvil & Martin Mares
  17. ;*  (C) Copyright 1995-1996 Marius Gröger
  18. ;*      All Rights Reserved
  19. ;*
  20. ;*  $HISTORY:
  21. ;*
  22. ;*  29 Mar 1996 : 001.002 :  changed copyright note
  23. ;*  20 Aug 1995 : 001.001 :  stub() MUST return 0 (jk/mm)
  24. ;*  12 Feb 1995 : 001.000 :  reworked original
  25. ;*
  26.  
  27. ;*
  28. ;* include files
  29. ;*
  30.     IFND EXEC_NODES_I
  31.     INCLUDE "exec/nodes.i"
  32.     ENDC
  33.     IFND EXEC_RESIDENT_I
  34.     INCLUDE "exec/resident.i"
  35.     ENDC
  36.     IFND EXEC_INITIALIZERS_I
  37.     INCLUDE "exec/initializers.i"
  38.     ENDC
  39.     IFND DOS_DOS_I
  40.     INCLUDE "dos/dos.i"
  41.     ENDC
  42.  
  43.     INCLUDE "magplip.i"
  44.     INCLUDE "magplip_rev.i"
  45. ;*
  46. ;* imports
  47. ;*
  48.     xref  _DevInit
  49.  
  50.     xref  _DevOpen
  51.     xref  _DevClose
  52.     xref  _DevExpunge
  53.     xref  _DevExtFunc
  54.     xref  _DevBeginIO
  55.     xref  _DevAbortIO
  56.  
  57.     section "text",code
  58.  
  59.     moveq #RETURN_FAIL,d0
  60.     rts
  61.  
  62. romtag:
  63.     dc.w  RTC_MATCHWORD
  64.     dc.l  romtag
  65.     dc.l  endskip
  66.     dc.b  RTF_AUTOINIT
  67.     dc.b  VERSION
  68.     dc.b  NT_DEVICE
  69.     dc.b  0               ; priority
  70.     dc.l  devname
  71.     dc.l  devid
  72.     dc.l  inittable
  73.  
  74. devname:
  75.     dc.b "magplip.device",0
  76.  
  77.     dc.b  0,'$VER: '
  78. devid:
  79.     VSTRING
  80.  
  81.     cnop 0,2
  82.  
  83. inittable:
  84.     dc.l  PLIPBase_SIZE
  85.     dc.l  functable,datatable,_DevInit
  86.  
  87. functable:
  88.     dc.l  _DevOpen
  89.     dc.l  _DevClose
  90.     dc.l  _DevExpunge
  91.     dc.l  stub
  92.     dc.l  _DevBeginIO
  93.     dc.l  _DevAbortIO
  94.     dc.l  -1
  95.  
  96. datatable:
  97.     INITBYTE LN_TYPE,NT_DEVICE
  98.     INITLONG LN_NAME,devname
  99.     INITBYTE LIB_FLAGS,LIBF_SUMUSED!LIBF_CHANGED
  100.     INITWORD LIB_VERSION,VERSION
  101.     INITWORD LIB_REVISION,REVISION
  102.     INITLONG LIB_IDSTRING,devid
  103.     dc.w  0
  104.  
  105. stub:
  106.     moveq #0,d0
  107.     rts
  108.  
  109. endskip:
  110.  
  111.     END
  112.